package com.ncloud.msg.service;

import com.ncloud.msg.entity.Email;

import java.util.List;

/**
 * Created by shiqiang on 2017/5/8.
 */
public interface MailService {
    List<Email> getEmails(String msgCode, int limit);
    int updateEmail(Email email);
    int insertEmailHistory(Long msgId);
    int deleteEmail(Long msgId);
}
